// 《人员资质》页面接口文件
import request from '@/utils/request.js';

/**查询 人员资质证书 */
export function listQua(query){
  return request({
    url: '/system/qualification/list',
    method: 'get',
    params: query
  })
}
/** 新增 */
export function addQua(data){
  return request({
    url: '/system/qualification',
    method: 'post',
    data
  })
}

/** 编辑 */
export function editQua(data){
  return request({
    url: '/system/qualification',
    method: 'put',
    data
  })
}

/** 删除 */
export function deleteQua(ids){
  return request({
    url: `/system/qualification/${ids}`,
    method: 'delete'
  })
}

/** 详情 */
export function detailQua(ids){
  return request({
    url: `/system/qualification/${ids}`,
    method: 'get'
  })
}